package io.cp.connector.api.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.cp.connector.api.entity.MessageResult;

@RestController
@RequestMapping("pub")
public class PublicAPIController {

	private static Log log = LogFactory.getLog(PublicAPIController.class);
	
	@GetMapping("api")
	public MessageResult testAPI() {
		log.info("testAPI----------=pub=");
		return MessageResult.success("=pub=");
	}
	
}
